Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@types/base64-js
Advanced tools
TypeScript definitions for base64-js
npm install --save @types/base64-js
This package contains type definitions for base64-js (https://github.com/beatgammit/base64-js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-js.
/**
* Takes a base64 string and returns length of byte array
*/
export function byteLength(encoded: string): number;
/**
* Takes a base64 string and returns a byte array
*/
export function toByteArray(encoded: string): Uint8Array;
/**
* Takes a byte array and returns a base64 string
*/
export function fromByteArray(bytes: Uint8Array): string;
/**
* base64-js does basic base64 encoding/decoding in pure JS.
*/
export as namespace base64js;
These definitions were written by Peter Safranek, and Piotr Błażejewicz.
FAQs
TypeScript definitions for base64-js
The npm package @types/base64-js receives a total of 1,088 weekly downloads. As such, @types/base64-js popularity was classified as popular.
We found that @types/base64-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.